package com.yaolong.api.modules.gen.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yaolong.commons.base2.BaseDomain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 模板表
 * </p>
 *
 * @author yaolonga
 * @since 2022-12-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("gen_template")
@ApiModel(value="Template对象", description="模板表")
public class Template extends BaseDomain {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "关键字")
    @TableId(value = "Template_ID", type = IdType.AUTO)
    private Long templateId;

    @ApiModelProperty(value = "模板名称")
    @TableField("Template_Name")
    private String templateName;

    @ApiModelProperty(value = "模板路径")
    @TableField("Template_Path")
    private String templatePath;

    @ApiModelProperty(value = "模板描述")
    @TableField("Template_Desc")
    private String templateDesc;

    @ApiModelProperty(value = "模板文件名称规则")
    @TableField("File_Name")
    private String fileName;

    @ApiModelProperty(value = "所属分组")
    @TableField("Group_ID")
    private Long groupId;

    @ApiModelProperty(value = "模板类型")
    @TableField("Template_Type")
    private String templateType;

    @ApiModelProperty(value = "模板版本")
    @TableField("Template_Version")
    private Integer templateVersion;

    @ApiModelProperty(value = "模板生成类型")
    @TableField("Template_Gen_type")
    private String templateGenType;


}
